package com.qnvip.sbd.dao;

import com.qnvip.sbd.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Eric Lin
 * <p>
 * 2017-10-19
 */
@Mapper
public interface AdminDao {

	@SelectProvider(type = com.qnvip.sbd.mybatis.sqlprovider.SqlProvider.class, method = "select")
	public List<Admin> select(@Param("condition") Object condition, @Param("targetColumns") String targetColumns,
							  @Param("otherCondition") String otherCondition);
}
